import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
// 配置路由模式
import {HashRouter as Router} from 'react-router-dom' 

ReactDOM.render(
  <Router>
    <App />
  </Router>,
  document.getElementById('root')
);

